package com.gxa.modules.app.outpatient.medicalrecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.model.entity.hospital.MedicalRecordInquiry;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 作者 yuanqiufeng
 * Date 2022/11/14
 */
@Mapper
public interface MedicalRecordInquiryMapper extends BaseMapper<MedicalRecordInquiry> {
    public List<MedicalRecordInquiry> queryAll(@Param("patientId") Integer patientId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);

    public MedicalRecordInquiry queryById(Integer id);

}
